]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
keyboard: Spawn "tecla" to show keyboard map
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 3 Jul 2023 09:44:17 +0000 (11:44 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 11 Jul 2023 13:06:19 +0000 (15:06 +0200)
This is a modern replacement for gkbd-keyboard-display, stuck in gtk3
and X11 (libxklavier).

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2834>

js/ui/status/keyboard.js

index 499c89b89f66f0d5e33740dd83d240bdea267b1c..bbdf22597ad1adb6ce2c5428b7a9140118b4ce3a 100644 (file)
@@ -1099,6 +1099,6 @@ class InputSourceIndicator extends PanelMenu.Button {
         if (xkbVariant.length > 0)
             description = `${description}\t${xkbVariant}`;
 
-        Util.spawn(['gkbd-keyboard-display', '-l', description]);
+        Util.spawn(['tecla', description]);
     }
 });